This stack treats weekly, monthly, hourly, daily, and day of week statistics separately. In order to process the data, the 'CL Analysis' file, which is output by AnalyzeCL, must be split into separate tab-delineated files named Weekly Stats, Monthly Stats, and so forth. The utility 'Split_CL_Analysis' will do exactly that, or it can be done using text editors with macro capability, or with simple text editors and InfoMaker. These files should be in a single folder.
After selecting a data set (click on one of the buttons on this card), you should 'Load Data'. If necessary, you will be prompted for the path where the 'Stats' files reside. If all goes well, you will see the new data cards being read. The arrow buttons within these cards perform their customary function. The 'Graph' button will take yoy to a card that will graph the data. This card has its own help button. The data cards must be present for the graph function to work, but they may be deleted (using the Delete Cards button) after a graph is drawn. The graph will remain until it is Cleared or another graph is attempted.
-- part contents for card part 16
----- text -----
Feel free to use this stack and its scripts, although I (Tom Konantz) would appreciate credit if the graph-related scripts are used in other stacks. Users are encouraged to modify this stack and share the results, as there are some areas that could be improved.
The stack was designed to maximize reusability, so many scripts use either the background or the card name as parameters . The fields within the data cards also use common names. Finally, the button names on the graph background the same as the field names. All these items may be changed to taste, but be aware of the potential for problems.
The Y axis graph labeling is a tricky problem, since rounding errors almost always occurs somewhere. I wanted to have the Y tick mark exactly even with a data point corresponding to the label on that mark, so the Y position is shifted rather than using evenly spaced marks and rounding the label. For example, if the max Y is 37 and there are 15 divisions, some of the marks will not coincide with an integer value. Because of this, the Y axis labels will not be evenly spaced in all cases.
This stack was developed on a Mac II; it may be a touch on the slow side on slower machines. Additional 'lock screens' may help performance, although you won't be able to watch it work.